Ext.define('yiyuan.view.Erji', {
    extend: 'Ext.Panel',
    xtype: 'erjiView',
    config: {
        layout:"vbox",
        scrollable:true,
        items: [
            {
                docked: 'top',
                xtype: 'toolbar',
                cls:'erjiView_toolbar',
                title:"",
                items:[
                    {
                        xtype:"button",
                        iconCls:"btn_home",
                        handler:function(){
                            this.up("erjiView").down("img").setSrc("");
                            this.up("erjiView").down("img").clearListeners();
                            Ext.Viewport.setActiveItem("main")
                        }
                    }
                ]
            },
            {
                xtype: "img",
                width:"100%",
                src:"",
                flex:1
            }
        ]
    }

});
